package com.wang.service.impl;

import com.wang.bean.Appedtion;
import com.wang.mapper.AppedtionMapper;
import com.wang.service.AppedtionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
class AppedtionServiceImpl implements AppedtionService {

    @Autowired
    private AppedtionMapper appedtionMapper;


    @Override
    public List<Appedtion> listAll() {
        return appedtionMapper.listAll();
    }

    @Override
    public List<Appedtion> list() {
        return appedtionMapper.list();
    }

    @Override
    public Appedtion getlastedtion() {
        return appedtionMapper.getlastedtion();
    }

    @Override
    public void Disable(Appedtion f) {
        appedtionMapper.Disable(f);
    }

    @Override
    public void Enable(Appedtion f) {
        appedtionMapper.Enable(f);

    }
}